package com.etc.util;

/**
 * 
 * @ClassName: AbsResponseData 
 * @Description: 增加删除修改响应结果
 * @author knowno  
 * @date 2022年4月7日 下午2:18:04 
 * 
 * @param <T>
 */
public class AbsResponseData<T> {

	private int code = 0;
	private String msg = "success";

	private T obj;//其他数据
	
	//增加了一个属性，字符串，token(jwt)
	private String token;

	public T getObj() {
		return obj;
	}

	public void setObj(T obj) {
		this.obj = obj;
	}
	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public AbsResponseData() {
		// TODO Auto-generated constructor stub
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
}
